-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here

vim.g.mapleader = "\\"
vim.g.maplocalleader = "\\"

local mymap = vim.api.nvim_set_keymap
local myopt = { noremap = true, silent = true }
vim.api.nvim_set_keymap("n", "<leader>sv", ":vsp<CR>", myopt)
vim.api.nvim_set_keymap("n", "<leader>sh", ":sp<CR>", myopt)
vim.api.nvim_set_keymap("n", "backspace", ":sp<CR>", myopt)
vim.api.nvim_set_keymap("n", "<F5>", "<C-W>w", myopt)
vim.api.nvim_set_keymap("n", "<BS>", "<C-W>h", myopt)
vim.keymap.set("n", "<F8>", ":LspDefinition<CR>")
